﻿using Microsoft.AspNetCore.Mvc;

namespace AdminBase.Model
{
    /// <summary>
    /// 用户查询参数类
    /// </summary>
    public class UsersQueryParam
    {
        /// <summary>
        /// 关键词
        /// </summary>
        [FromQuery(Name = "search")]
        public string? KeyWord { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        [FromQuery(Name = "departmentID")]
        public long? DepartmentID { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [FromQuery(Name = "isActive")]
        public bool? IsActive { get; set; }
    }
}
